package drds.global_transaction.resource_manager.model;

import java.util.ArrayList;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

public class IndexMetaData
{
	@Setter
	@Getter
	private List<ColumnMetaData> columnMetaDataList = new ArrayList<ColumnMetaData>();
	@Setter
	@Getter
	private boolean nonUnique;
	@Setter
	@Getter
	private String indexQualifier;
	@Setter
	@Getter
	private String indexName;
	@Setter
	@Getter
	private short type;
	@Setter
	@Getter
	private IndexType indextype;
	@Setter
	@Getter
	private String ascOrDesc;
	@Setter
	@Getter
	private int cardinality;
	@Setter
	@Getter
	private int ordinalPosition;

	public IndexMetaData()
	{
	}

	@Override
	public String toString()
	{
		return "indexName:" + indexName + "->" + "type:" + type + "->" + "columnMetaDataList:" + columnMetaDataList;
	}
}
